import { BaseModel, DoctorExtModel, HospitalModel, BiDictionaryModel, DoctorBlocModel } from "../index";

export class DoctorModel extends BaseModel {

    /**
     * 医院id
     */
    hospitalId: number;
    /**
     * 科室id 数据字典
     */
    departmentId: number;
    /**
     * 头衔id 数据字典
     */
    titleId: number;
    /**
     * 手机号
     */
    mobile: string;
    /**
     * 密码
     */
    password: string;
    /**
     * 密码盐
     */
    salt: string;
    /**
     * jwt版本
     */
    jwtVersion: number;
    /**
     * 名称
     */
    name: string;
    /**
     * 头像地址
     */
    avatarUrl: string;
    /**
     * 1启用0停用
     */
    status: number;
    /**
     * 加入时间
     */
    joinTime: Date;

    doctorExt: DoctorExtModel;
    hospitalBO: HospitalModel;
    titleBO: BiDictionaryModel;
    departmentBO: BiDictionaryModel;
    favorite: boolean
    blocId: number;
    doctorBlocBO: DoctorBlocModel
    consultCost: any
    doctorType: any
    tgDoctorId: string
    doctorFavoriteBO: any;

    workAddress: string
    loadOrderByCd: boolean

    department: string
    onlineStatus: number
    grouponListBO: Array<any>
    price: number
    doctorDepartmentRelationBOList: any
}